import request from './http.js'


export const getNewsDetail = params => { return request({ url: '/api/news_info', method: 'get', params }) }
export const newsBefore = params => { return request({ url: '/api/news_before', method: 'get', params }) }

export const getNews = params => { return request({ url: '/api/news_latest', method: 'get', params }) }

export const login = params => { return request({ url: '/api/login', method: 'get', params }) }
export const checkLogin = params => { return request({ url: '/api/check_login', method: 'get', params }) }
